﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMain.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="UpdateServer.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="100%" height="400px">
        <tr>
            <td valign="top" align="center">
                <asp:GridView ID="GridViewApps" runat="server" AutoGenerateColumns="False" Width="645px"
                    OnRowCommand="GridViewApps_RowCommand" DataKeyNames="APPID">
                    <Columns>
                        <asp:BoundField DataField="APPNAME" HeaderText="应用名称" />
                        <asp:BoundField DataField="LASTVERSION" HeaderText="最新版本" />
                        <asp:BoundField DataField="LASTDATE" HeaderText="更新时间" />
                        <asp:TemplateField>
                            <ItemTemplate>
                                <a href="AppConfig.aspx?APPID=<%#Eval("APPID")%>">配置更新</a>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <a href="UpdateHistory.aspx?APPID=<%#Eval("APPID")%>">查看历史</a>
                            </ItemTemplate>
                        </asp:TemplateField>
                          <asp:TemplateField>
                            <ItemTemplate>
                                <a href="DeleteHistory.aspx?APPID=<%#Eval("APPID")%>">清理历史记录</a>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
